<div class="layui-form" lay-filter="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
    <div class="layui-form-item">
        <label class="layui-form-label">镜像名</label>
        <div class="layui-input-block">
            <input type="text" name="imageName" placeholder="50字以内" lay-verify="required"  autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">镜像描述</label>
        <div class="layui-input-block">
            <textarea name="description" placeholder="200字以内" lay-verify="required" class="layui-textarea"></textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否公开</label>
        <div class="layui-input-inline" >
            <select  id="cpuShare" name="open">
                <option value="1">公开</option>
                <option value="0">私密</option>
            </select>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-block">
            <input type="button" lay-submit lay-filter="LAY-user-back-submit" value="确认" class="layui-btn">
        </div>
    </div>
</div>

<script>
    layui.use(['admin', 'form', 'laydate', 'slider'], function(){
        var $ = layui.$
            ,form = layui.form, table = layui.table,
            laydate = layui.laydate, slider = layui.slider;
        form.render();
    });
</script>